package com.huanletao.quartz;

import com.huanletao.quartz.config.QuartzConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * <p>
 *   JobDetails jobDetails = new JobDetails();
 *         jobDetails.setJobName("defaultJOb");
 *         jobDetails.setGroupName("default_group");
 *         jobDetails.setCron("0/5 * * * * ?");
 *         jobDetails.setTargetName("helloQuartz.sayHello(\"zhangsan\",212,22L,121D)");
 *         QuartzSchedule defaultQuartzSchedule = new DefaultQuartzSchedule();
 *         defaultQuartzSchedule.addQuartzJob(jobDetails);
 * </p>
 *
 * @package: com.huanletao.quartz
 * @description:
 * @className: Main
 * @author: @nncskj admin
 * @date: Created in 2022/5/31
 * @copyright: Copyright (c) 2022/5/31
 * @version: V1.0
 */

public class Main {

    public static void main(String[] args) throws Exception {

        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(QuartzConfig.class);


    }
}
